#ifndef BBH_THREAD_H_
#define BBH_THREAD_H_
#ifdef __cplusplus
extern "C"
{
#endif

#include "bbh_include.h"

struct bbh_thread_s
{
    bbh_outbuffer_t *msg_buf;
};

int  bbh_thread_create(bbh_thread_t**ppobj);
bbh_thread_t* bbh_thread_tsd(pthread_key_t thd_key);
void bbh_thread_free(void*_);

#ifdef __cplusplus
}
#endif
#endif
